package com.danciyixue.boot.dcyx.converter;

import com.danciyixue.boot.dcyx.model.vo.DailyTimeRecordsVO;
import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.danciyixue.boot.dcyx.model.entity.DailyTimeRecords;
import com.danciyixue.boot.dcyx.model.form.DailyTimeRecordsForm;

/**
 * 用户每日时间记录对象转换器
 *
 * @author youlaitech
 * @since 2025-06-28 10:26
 */
@Mapper(componentModel = "spring")
public interface DailyTimeRecordsConverter{

    DailyTimeRecordsForm toForm(DailyTimeRecords entity);

    DailyTimeRecords toEntity(DailyTimeRecordsForm formData);

    DailyTimeRecordsVO toVO(DailyTimeRecords record);
}